<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    let arr = [23,35,15,60,88,90];
    console.log(arr);
    for(let i = 1;i<arr.length;i++){
        for(let j = 0; j < arr.length -i;j--){
            if (let[j] > arr [j - 1]) {
                let temp = arr[j];
                arr[j] = arr [j - 1];
                arr[j-1] =temp;
            }
        }
    }
    console.log(arr);
</script>
</html>